<!DOCTYPE html>
<html>
<meta charset="UTF-8" />
<title>Deplaner</title>
<style type="text/css">
body,html {
  padding:0;
  margin:0;
  background-color:grey;
  width:100%;
  height:100%;
  font-family:Arial;
  text-align:center;
}
canvas#container {
  width:100%;
  height:100%;
  margin:-5px;
  padding:0px;
  border:none;
  background-color:white;
}
</style>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-22305799-3']);
  _gaq.push(['_setDomainName', 'none']);
  _gaq.push(['_setAllowLinker', true]);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<script type="text/javascript" src="planeHandler.js"></script>
<script type="text/javascript">
function init() {
  window.canvas=document.getElementById("container").getContext("2d");
  loadScript("planeActions.js","planeActions");
}
function preloadImages() {
  var planeImagesPreload=[];
  planeImages.forEach(function(e,i,a) {
    planeImagesPreload[i]=new Image().src=e;
  });
  new Image().src="field1.png";
}
preloadImages();
window.onload=init;
function loadScript(src,id) {
  if (document.getElementById(id)) {
    try { document.head.removeChild(document.getElementById(id)); } catch(e) { };
  }
  var script=document.createElement("script");
  script.setAttribute("src",src);
  script.setAttribute("type","text/javascript");
  script.setAttribute("id","loadedScript");
  document.head.appendChild(script);
}
</script>
  <h1>This version is not yet ready. Stay tuned for new developments!</h1>
<canvas id="container">
<h3>Sorry, you cannot run this web app because it requires HTML5 canvas!</h3>
</canvas>
<!--<br />
Loading...<br /><br />
<img src="load.gif" alt="" />
-->
<noscript><h3>Sorry, you cannot run this web app because it requires Javascript!</h3></noscript>
</html>